package com.heatup.apt.management.service.coach.impl;

import com.baomidou.framework.service.impl.SuperServiceImpl;
import com.heatup.apt.common.dao.CoachCourseBasicFeeMapper;
import com.heatup.apt.management.service.coach.CoachCourseBasicFeeService;
import com.heatup.apt.model.coach.CoachBasicFee;
import com.heatup.apt.model.coach.CoachCourseBasicFee;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 * CoachCourseBasicFee 表数据服务层接口实现类
 *
 */
@Service
public class CoachCourseBasicFeeServiceImpl extends SuperServiceImpl<CoachCourseBasicFeeMapper, CoachCourseBasicFee> implements CoachCourseBasicFeeService {

    @Autowired
    CoachCourseBasicFeeMapper coachCourseBasicFeeMapper;

    /**
     * 查询教练团课基础课时费
     *
     * @param coachId 教练 ID
     * @return 教练团课基础课时费
     */
    @Override
    public List<CoachBasicFee> queryCoachCourseBasicsByCoachId(Integer coachId) {

        return coachCourseBasicFeeMapper.queryCoachCourseBasicsByCoachId(coachId);
    }
}